home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Development Platforms / Apple II / Essentials / MPW IIGS Interfaces / AIIGSIncludes / E16.Window < prev    next >
Encoding:
Text File  |  1990-04-18  |  5.2 KB  |  142 lines  |  [TEXT/MPS ]

  1. ; File:  E16.Window
  2. ;
  3. ;
  4. ; Copyright Apple Computer, Inc. 1986-90
  5. ; All Rights Reserved
  6. ;
  7. ;
  8. paramLenErr EQU $0E01  ; first word of parameter list is the wrong size
  9. allocateErr EQU $0E02  ; unable to allocate window record
  10. taskMaskErr EQU $0E03  ; bits 12-15 are not clear in WmTaskMask field of EventRecord
  11. wNoConstraint EQU $0000  ; No constraint on movement.
  12. wHAxisOnly EQU $0001  ; Horizontal axis only.
  13. wVAxisOnly EQU $0002  ; Vertical axis only.
  14. FromDesk EQU $00  ; Subtract region from desktop
  15. ToDesk EQU $1  ; Add region to desktop
  16. GetDesktop EQU $2  ; Get Handle of Desktop region
  17. SetDesktop EQU $3  ; Set Handle of Desktop region
  18. GetDeskPat EQU $4  ; Address of  pattern or drawing routine
  19. SetDeskPat EQU $5  ; Change Address of  pattern or drawing routine
  20. GetVisDesktop EQU $6  ; Get destop region less visible windows.
  21. BackGroundRgn EQU $7  ; For drawing directly on desktop.
  22. toBottom EQU $FFFFFFFE  ; To send window to bottom.
  23. topMost EQU $FFFFFFFF  ; To make window top.
  24. bottomMost EQU $0000  ; To make window bottom.
  25. tmMenuKey EQU $00000001
  26. tmUpdate EQU $00000002
  27. tmFindW EQU $00000004
  28. tmMenuSel EQU $0008
  29. tmOpenNDA EQU $0010
  30. tmSysClick EQU $0020
  31. tmDragW EQU $0040
  32. tmContent EQU $0080
  33. tmClose EQU $0100
  34. tmZoom EQU $0200
  35. tmGrow EQU $0400
  36. tmScroll EQU $0800
  37. tmSpecial EQU $1000
  38. tmCRedraw EQU $2000
  39. tmInactive EQU $4000
  40. tmInfo EQU $8000
  41. tmContentControls EQU $00010000
  42. tmControlKey EQU $00020000
  43. tmControlMenu EQU $00040000
  44. tmMultiClick EQU $00080000
  45. tmIdleEvents EQU $00100000
  46. wNoHit EQU $0000  ; retained for back compatibility. 
  47. inNull EQU $0000  ; retained for back compatibility
  48. inKey EQU $0003  ; retained for back compatibility
  49. inButtDwn EQU $0001  ; retained for back compatibility
  50. inUpdate EQU $0006  ; retained for back compatibility
  51. wInDesk EQU $0010  ; On Desktop
  52. wInMenuBar EQU $0011  ; On system menu bar
  53. wClickCalled EQU $0012  ; system click called
  54. wInContent EQU $0013  ; In content region
  55. wInDrag EQU $0014  ; In drag region
  56. wInGrow EQU $0015  ; In grow region, active window only
  57. wInGoAway EQU $0016  ; In go-away region, active window only
  58. wInZoom EQU $0017  ; In zoom region, active window only
  59. wInInfo EQU $0018  ; In information bar
  60. wInSpecial EQU $0019  ; Item ID selected was 250 - 255
  61. wInDeskItem EQU $001A  ; Item ID selected was 1 - 249
  62. wInFrame EQU $1B  ; in Frame, but not on anything else
  63. wInactMenu EQU $1C  ; 'selection' of inactive menu item
  64. wClosedNDA EQU $001D  ; desk accessory closed
  65. wCalledSysEdit EQU $001E  ; inactive menu item selected
  66. wInSysWindow EQU $8000  ; hi bit set for system windows
  67. wDraw EQU $00  ; Draw window frame command.
  68. wHit EQU $01  ; Hit test command.
  69. wCalcRgns EQU $02  ; Compute regions command.
  70. wNew EQU $03  ; Initialization command.
  71. wDispose EQU $04  ; Dispose command.
  72. fHilited EQU $0001  ; Window is highlighted.
  73. fZoomed EQU $0002  ; Window is zoomed.
  74. fAllocated EQU $0004  ; Window record was allocated.
  75. fCtlTie EQU $0008  ; Window state tied to controls.
  76. fInfo EQU $0010  ; Window has an information bar.
  77. fVis EQU $0020  ; Window is visible.
  78. fQContent EQU $0040
  79. fMove EQU $0080  ; Window is movable.
  80. fZoom EQU $0100  ; Window is zoomable.
  81. fFlex EQU $0200
  82. fGrow EQU $0400  ; Window has grow box.
  83. fBScroll EQU $0800  ; Window has horizontal scroll bar.
  84. fRScroll EQU $1000  ; Window has vertical scroll bar.
  85. fAlert EQU $2000
  86. fClose EQU $4000  ; Window has a close box.
  87. fTitle EQU $8000  ; Window has a title bar.
  88. windSize EQU $00D4  ; Size of WindRec.
  89. wmTaskRecSize EQU $002E  ; Size of WmTaskRec.
  90. wTrackZoom EQU $001F
  91. wHitFrame EQU $0020
  92. wInControl EQU $0021
  93. wInControlMenu EQU $0022
  94. ; offset constants for WindColor
  95. oframeColor EQU 0
  96. otitleColor EQU 2
  97. otBarColor EQU 4
  98. ogrowColor EQU 6
  99. oinfoColor EQU 8
  100. ; offset constants for WindRec
  101. owNext EQU 0
  102. oport EQU 4  ; Window's port
  103. owDefProc EQU 174
  104. owrRefCon EQU 178
  105. owContDraw EQU 182
  106. owReserved EQU 186  ; Space for future expansion
  107. owStrucRgn EQU 190  ; Region of frame plus content.
  108. owContRgn EQU 194  ; Content region.
  109. owUpdateRgn EQU 198  ; Update region.
  110. owControls EQU 202  ; Window's control list.
  111. owFrameCtrls EQU 206  ; Window frame's control list.
  112. owFrame EQU 210
  113. ; offset constants for ParamList
  114. oparamLength EQU 0  ; Parameter to NewWindow. 
  115. owFrameBits EQU 2  ; Parameter to NewWindow.
  116. owTitle EQU 4  ; Parameter to NewWindow.
  117. owRefCon EQU 8  ; Parameter to NewWindow.
  118. owZoom EQU 12  ; Parameter to NewWindow.
  119. owColor EQU 20  ; Parameter to NewWindow.
  120. owYOrigin EQU 24  ; Parameter to NewWindow.
  121. owXOrigin EQU 26  ; Parameter to NewWindow.
  122. owDataH EQU 28  ; Parameter to NewWindow.
  123. owDataW EQU 30  ; Parameter to NewWindow.
  124. owMaxH EQU 32  ; Parameter to NewWindow.
  125. owMaxW EQU 34  ; Parameter to NewWindow.
  126. owScrollVer EQU 36  ; Parameter to NewWindow.
  127. owScrollHor EQU 38  ; Parameter to NewWindow.
  128. owPageVer EQU 40  ; Parameter to NewWindow.
  129. owPageHor EQU 42  ; Parameter to NewWindow.
  130. owInfoRefCon EQU 44  ; Parameter to NewWindow.
  131. owInfoHeight EQU 48  ; height of information bar
  132. owFrameDefProc EQU 50  ; Parameter to NewWindow.
  133. owInfoDefProc EQU 54  ; Parameter to NewWindow.
  134. owContDefProc EQU 58  ; Parameter to NewWindow.
  135. owPosition EQU 62  ; Parameter to NewWindow.
  136. owPlane EQU 70  ; Parameter to NewWindow.
  137. owStorage EQU 74  ; Parameter to NewWindow.
  138. ; offset constants for DeskMessageRecord
  139. odmreserved EQU 0
  140. odmmessageType EQU 4
  141. odmdrawType EQU 6
  142.